package cn.gok.common.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 订单详情表实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("o_order_detail")
public class OrderDetail {

    @TableId(value = "ORDER_DETAIL_ID", type = IdType.AUTO)
    private Integer orderDetailId;

    @TableField("ORDER_ID")
    private Integer orderId;

    @TableField("GOODS_ID")
    private String goodsId;

    @TableField("GOODS_NAME")
    private String goodsName;

    @TableField("GOODS_CNT")
    private Integer goodsCnt;

    @TableField("GOODS_PRICE")
    private Integer goodsPrice;

    @TableField("AVERAGE_COST")
    private Integer averageCost;

    @TableField("WEIGHT")
    private Float weight;

    @TableField("DISTRICT_MONEY")
    private Integer districtMoney;

    @TableField("WHID")
    private Integer whid;

    @TableField("MODIFIED_TIME")
    private String modifiedTime;
}